package cn.kgc.itrip.service;

import cn.kgc.itrip.beans.dto.Dto;
import cn.kgc.itrip.beans.pojo.ItripUser;

/**
 * Created by Administrator on 2018/11/21.
 */
public interface UserService {

    Dto<ItripUser> login(String username,String password);
    Dto emailRegister(ItripUser user);
    Dto validator(String name,String code);
    Dto phoneRegister(ItripUser user);
    Dto resetPhoneCoded(String name);
        /*Dto<Itrip_User> login(String username, String password);
        public Dto emailRegedit(Itrip_User user);

        Dto validator(String name, String code);

        Dto phoneRegedit(Itrip_User user);

        *//**
         * 充值手机激活验证码
         * @param name
         * @return
         *//*
        public Dto resetPhoneCode(String name);*/
}
